Resource URL: /platform/<<version=3>>/protocols/nfs/nlm/sessions/<ID>

    Overview: This resource applies the standard collection pattern to
              individual NLM sessions on NFS. ID in the resource path is the
              hostname.

     Methods: GET, DELETE

********************************************************************************

Method GET: Retrieve all lock state for a single client.

       URL: GET /platform/<<version=3>>/protocols/nfs/nlm/sessions/<ID>

Query arguments:
  ip=<string> An IP address for which NSM has client records
zone=<string> Represents an extant auth zone

GET response body schema:
{
  "type": "object", 
  "properties": {
    "sessions": {
      "items": {
        "type": "object", 
        "description": "Describes host/callback information for a NSM monitor entry", 
        "properties": {
          "notify_error": {
            "type": "string", 
            "description": "Last error recieved attempting to notify this client"
          }, 
          "node_ip": {
            "type": "string", 
            "description": "An IP address for which NSM has client records"
          }, 
          "host_type": {
            "enum": [
              "client", 
              "server", 
              "reverse", 
              "expired"
            ], 
            "type": "string", 
            "description": "The sort of host that this entry represents"
          }, 
          "hostname": {
            "type": "string", 
            "description": "The host being monitored"
          }, 
          "is_active": {
            "type": "boolean", 
            "description": "Whether or not the client is actively being monitored"
          }, 
          "delegates": {
            "items": {
              "type": "int"
            }, 
            "type": "array"
          }, 
          "last_modified": {
            "type": "int", 
            "description": "Unix time in seconds that the client was last modified (monitored or unmonitored)"
          }, 
          "notify_last_attempt": {
            "type": "int", 
            "description": "Unix time in seconds when we last attempted to notify this clients"
          }, 
          "notify_attempts_remaining": {
            "type": "int", 
            "description": "Number of times we will attempt to notify this client before giving up"
          }
        }
      }, 
      "type": "array"
    }
  }
}

********************************************************************************

Method DELETE: Delete all lock state for this host.

          URL: DELETE /platform/<<version=3>>/protocols/nfs/nlm/sessions/<ID>

Query arguments:
      ip=<string> An IP address for which NSM has client records
    zone=<string> Represents an extant auth zone
refresh=<boolean> if set to true, the client will be given a chance to reclaim
                  its locks before they are destroyed

There is no response body for this method.
